home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 050 / fastvid.arc / FASTVID.LOG < prev   
Encoding:
Text File  |  1986-05-13  |  2.5 KB  |  107 lines

  1. -
  2. -f100 500 0
  3. -
  4. -a100
  5. 133C:0100 ;
  6. 133C:0100 ; fastvid - fast video routines
  7. 133C:0100 ;
  8. 133C:0100 ; this program will terminate and stay resident.  it replaces some
  9. 133C:0100 ; of the slowest video services with new, faster versions.
  10. 133C:0100 ;
  11. 133C:0100 ; s.h.smith, 11-may-86
  12. 133C:0100 ;
  13. 133C:0100 ;
  14. 133C:0100 
  15. -a100
  16. 133C:0100 ; startup entry point
  17. 133C:0100    jmp 190      ;install
  18. 133C:0103 
  19. -
  20. -a103
  21. 133C:0103 ; vector to old DOS interrupt
  22. 133C:0103    db 0,0,0,0
  23. 133C:0107 
  24. -
  25. -a109
  26. 133C:0109 ; new video service interrupt
  27. 133C:0109    cmp ah,02
  28. 133C:010C    jz 170         ;DISPLAY OUTPUT
  29. 133C:010E    cmp ah,06
  30. 133C:0111    jz 160         ;DIRECT CONSOLE I/O
  31. 133C:0113    jmp 120
  32. 133C:0115 
  33. -
  34. -a120
  35. 133C:0120 ; vector to old DOS handler
  36. 133C:0120    cs:
  37. 133C:0121    jmp far [103]  ;to old DOS handler
  38. 133C:0125 ;
  39. 133C:0125 ; a signature in bytes
  40. 133C:0125 ;
  41. 133C:0125    db 0a,0d,'FASTVID - Fast video for DOS, S.H.Smith, 13-May-86',0a,0d
  42. 133C:015B    db 1a
  43. 133C:015C 
  44. -
  45. -a160
  46. 133C:0160 ;
  47. 133C:0160 ; new 'DIRECT CONSOLE I/O' function
  48. 133C:0160 ;
  49. 133C:0160    cmp dl,ff
  50. 133C:0163    jz 120      ;let DOS do the console input function
  51. 133C:0165    jmp 170     ;else use display output
  52. 133C:0167 
  53. -
  54. -a170
  55. 133C:0170 ;
  56. 133C:0170 ; new 'DISPLAY OUTPUT' function
  57. 133C:0170 ;
  58. 133C:0170    cmp dl,9    ;tab?
  59. 133C:0173    jz 120      ;use DOS for these, bios doesn't expand
  60. 133C:0175 ;
  61. 133C:0175 ;pass display request on to bios
  62. 133C:0175 ;
  63. 133C:0175    mov ah,0e   ;write tty service
  64. 133C:0177    mov al,dl   ;char to write
  65. 133C:0179    mov dl,15   ;default color
  66. 133C:017B    int 10      ;bios video service
  67. 133C:017D    iret
  68. 133C:017E 
  69. -
  70. -a190
  71. 133C:0190 ;
  72. 133C:0190 ; startup code
  73. 133C:0190 ;
  74. 133C:0190    mov ax,0
  75. 133C:0193    mov ds,ax
  76. 133C:0195 ;
  77. 133C:0195 ;save old dos vector
  78. 133C:0195 ;
  79. 133C:0195    mov ax,[84]
  80. 133C:0198    cs:
  81. 133C:0199    mov [103],ax
  82. 133C:019C    mov ax,[86]
  83. 133C:019F    cs:
  84. 133C:01A0    mov [105],ax
  85. 133C:01A3 ;
  86. 133C:01A3 ;install new vector
  87. 133C:01A3 ;
  88. 133C:01A3    mov ax,109
  89. 133C:01A6    mov [84],ax
  90. 133C:01A9    mov ax,cs
  91. 133C:01AB    mov [86],ax
  92. 133C:01AE ;
  93. 133C:01AE ;set last resident code offset
  94. 133C:01AE ;and terminate-and-stay-resident
  95. 133C:01AE ;
  96. 133C:01AE    mov dx,190
  97. 133C:01B1    int 27
  98. 133C:01B3 
  99. -
  100. -rcx
  101. CX 0000
  102. :100
  103. -nfastvid.com
  104. -w
  105. Writing 0100 bytes
  106. -q
  107.